//
//  TZNetModel.m
//  wangYiLottery
//
//  Created by mac on 16/3/30.
//  Copyright © 2016年 tz. All rights reserved.
//

#import "TZNetModel.h"

@implementation TZNetModel
- (instancetype)initWithDict:(NSDictionary *)dict
{
    self = [super init];
    if (self) {
        self.title = dict[@"title"];
        self.stitle = dict[@"stitle"];
        self.ids = dict[@"id"];
        self.url = dict[@"url"];
        self.icon = dict[@"icon"];
        self.customUrl = dict[@"customUrl"];
    }
    return self;
}

+ (instancetype)netModelWithDict:(NSDictionary *)dict {
    return [[self alloc] initWithDict:dict];
}
@end
